import http from "../request";

/**
 * 请求获取课程列表
 */
export const requestTypeList = () => {
  return http.get(
      '/apiV2/common/study/list', {}
  )
}



/**
 * 请求获取课程教程列表
 */
export const requestCourseList = (data) => {
  return http.post(
      '/apiV2/common/study/page', data
  )
}
/**
 * 请求获取课程教程详情
 */
export const requestCourseDetail = (id) => {
  return http.get(
      `/apiV2/common/study/detail/${id}`
  )
}



